import { Router } from 'express';
import * as appController from './appController';

const router = Router();


router.get('/latest', appController.getUserLatestInfo);
router.post('/logout', appController.logout);
router.put('/update', appController.updateUserInfo);
router.put('/subscription', appController.updateSubscriptionStatus);
router.get('/:userId/export', appController.exportUserById);
router.get('/:userId', appController.getUserInfoById);
export default router;
